<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-01-27 14:29:17
 * @LastEditTime: 2023-01-07 16:24:55
 * @LastEditors: sunkaiyuan sunkaiyuan@namenode.com
 * @Description: 盘点
 */

namespace App\Http\Controllers\Storage;


use App\Http\Controllers\Controller;
use App\Http\Services\Storage\AllocationService;
use Illuminate\Http\Request;

class AllocationController extends Controller
{
    public function boot(AllocationService $service)
    {
        $this->service = $service;
    }

    public function list()
    {
        return $this->service->list();
    }
    public function audit()
    {
        return $this->service->audit();
    }
    public function noaudit()
    {
        return $this->service->noaudit();
    }
    public function delete()
    {
        return $this->service->delete();
    }

    public function save(Request $request)
    {
        return $this->service->save($request);
    }
    public function details()
    {
        return $this->service->details();
    }
}